Date: 2013-08-15
Author: Sebastian Kranz
RMaxima is an interface between R and the computer algebra system Maxima. In addition the package has some functions for mathematical operations.
Sorry, so far the package is only tested under windows. You first must install Maxima separately. You should also add the /bin directory of Maxima to the Windows PATH variable.
You can install the package from GitHub in the usual fashion.
library(devtools) install_github(repo="restorepoint", username="skranz") install_github(repo="RMaxima", username="skranz")
library(restorepoint) library(RMaxima) start.maxima() mx.run("solve([x^2-y=0],x)", just.str=TRUE) f = "x^2+y^2+x^2*y^2" var = c("x","y") mx.hessian(f=f,var=var)
Maxima code in R is stored as strings.
The interchange between R and Maxima uses intermediate files. The function mx.run works roughly as follows:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.